package model.entity.novel;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @author 清风明月
 * @Package com.qfmy.model.entity
 * @date 2025/6/7
 * @description 书架实体类
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@SuppressWarnings("all")
public class NovelSelf {
    @Schema(description = "书架的ID")
    private Integer id;

    @Schema(description = "小说的ID")
    private Integer novelId;

    @Schema(description = "用户的ID")
    private Integer userId;

    @Schema(description = "创建时间")
    private Date createTime;

    @Schema(description = "更新时间")
    private Date updateTime;

    @Schema(description = "小说")
    private Novel novel;

    @Schema(description = "章节")
    private Chapter chapter;
}